﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HouseAgencySite.App_Start
{
    public class Errorfilter : HandleErrorAttribute
    {
        public override void OnException(ExceptionContext filterContext)
        {
            //string a = HttpContext.Current.Response.StatusCode.ToString();
            //if (HttpContext.Current.Response.StatusCode != 200 || HttpContext.Current.Response.StatusCode != 304)
            //{
            //    HttpContext.Current.Response.Redirect("/Home/Error");
            //}
            //base.OnException(filterContext);
        }
    }
}